//
//  InformationDetailApi.m
//  gamebox_qpp
//
//  Created by 赵隆杰 on 2022/1/6.
//

#import "InformationDetailApi.h"

@implementation InformationDetailApi
{
    NSString *_informationId;
}

- (instancetype)initWithInformationId:(NSString *)informationId
{
    self = [super init];
    if (self) {
        _informationId = informationId;
    }
    return self;
}

- (NSString *)requestUrl {
    
    return [NSString stringWithFormat:@"ios-message/detail/%@", _informationId];
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodGET;
}

- (id)requestArgument {
    
    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    
    params[@"id"] = _informationId;
    
    return params;
}

@end
